From: Matthias Mullie Date: Wed, 30 Aug 2017 13:29:26 +0000 (+0200) Subject: Turn Special:NewFiles list of media types into list of checkboxes X-Git-Tag: 1.31.0-rc.0~2224^2 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=302f9518a1f9abbaf6b59cc6c84eaaf68ec9ff75;p=lhc%2Fweb%2Fwiklou.git Turn Special:NewFiles list of media types into list of checkboxes It's a pretty short, finite list of media types, so we don't need it to be this dropdown thingy. Just a list of checkboxes is more convenient because it'll be easy to see which of the media types are missing/not selected. Bug: T174518 Change-Id: Ice768f0808eb9d70f682697f48272795417bbe74 --- diff --git a/includes/specials/SpecialNewimages.php b/includes/specials/SpecialNewimages.php index 0a653e7370..693b8aa90e 100644 --- a/includes/specials/SpecialNewimages.php +++ b/includes/specials/SpecialNewimages.php @@ -155,7 +155,6 @@ class SpecialNewFiles extends IncludableSpecialPage { 'mediatype' => [ 'type' => 'multiselect', - 'dropdown' => true, 'flatlist' => true, 'name' => 'mediatype', 'label-message' => 'newimages-mediatype',